Rails.application.routes.draw do



  root :to => "pages#home"

  devise_for :users, :controllers => { :sessions => "users/sessions", :registrations => "users/registrations", :omniauth_callbacks => "users/omniauth_callbacks" }, :path => '', :path_names => {:sign_up => 'signup', :sign_in => 'login', :sign_out => 'logout'}

  resources :users do

  end

  resources :pages do

  end

  resources :accounts do

  end

  resources :profiles do

  end

  resources :records do
    collection do
      get 'entry'
    end
    member do
    end
  end

  resources :reports

  resources :expenses

  resources :incomes


end
